import layout from '@/layout'
export default  {
    path: '/systemManagement',
    name: 'systemManagement',
    component: layout,
    redirect: '/menuManagement',
    meta: {
      title: '系统管理',
      icon: 'systemIcon',
      activeIcon: 'systemIcon',
      // activeIcon: 'activeSystemIcon'
    },
    children: [
      {
        path: '/menuManagement',
        name: 'menuManagement',
        component: () => import('@/views/systemManagement/menuManagement.vue'),
        meta: { title: '菜单管理', icon: 'goodsManagement' }
      },
      {
        path: '/menuDetail',
        name: 'menuDetail',
        component: () => import('@/views/systemManagement/menuDetail.vue'),
        meta: {
          title: '菜单详情',
          icon: 'goodsManagement'
        },
        hidden: true
      },
      {
        path: '/roleManagement',
        name: 'roleManagement',
        component: () => import('@/views/systemManagement/roleManagement.vue'),
        meta: { title: '角色管理', icon: 'svg-16' }
      },
      {
        path: '/roleDistribution',
        name: 'roleDistribution',
        component: () =>
          import('@/views/systemManagement/roleDistribution.vue'),
        meta: {
          title: '权限分配',
          icon: 'goodsManagement'
        },
        hidden: true
      },
      {
        path: '/departmentManagement',
        name: 'departmentManagement',
        component: () =>
          import('@/views/systemManagement/departmentManagement.vue'),
        meta: { title: '部门管理', icon: 'svg-16' }
      },
      {
        path: '/accountManagement',
        name: 'accountManagement',
        component: () =>
          import('@/views/systemManagement/accountManagement.vue'),
        meta: { title: '账号管理', icon: 'svg-16' }
      },
      {
        path: '/accountDetail',
        name: 'accountDetail',
        component: () =>
          import('@/views/systemManagement/accountDetail.vue'),
        meta: { title: '账号详情', icon: 'svg-16' },
        hidden: true
      },
    ]
  }
